//
//  APIError.h
//  Request
//
//  Created by 侯伟 on 2019/4/22.
//  Copyright © 2019年 侯伟. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "RequestConfig.h"

NS_ASSUME_NONNULL_BEGIN


@interface APIError : NSObject

@property(nonatomic,assign)NSInteger errorCode;

@property(nonatomic,copy)NSString* errorMsg;

+ (instancetype)errorWith:(NSInteger)errorCode msg:(NSString*)msg;

@end


NS_ASSUME_NONNULL_END

